package com.tony.mindwarning.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Title: Product
 * @Auther: 皮蛋布丁
 * @Date: 2021/04/09/9:52
 * @Description: 商品实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Product {

    private Integer pid;
    private String ptitle;      //商品名称
    private double price;       //商品价格
    private String pimage;      //商品图片
    private Integer pwarn;      //最低库存预警值
    private Integer pcount;     //库存量
    private String premark;     //备注
    private Integer pdelete;

    private Date create_time;   //创建时间
    private Integer create_user_id; //创建人id
    private Date update_time;   //更新时间
    private Integer update_user_id; //更新人id

    //外联对象
    private Type type;
}
